# 导入蓝图对象
from flask import current_app

from . import index_blue
from flask import render_template


@index_blue.route('/')
def index():
    return render_template('news/index.html')


@index_blue.route('/favicon.ico')
def favicon_ico():
    return current_app.send_static_file('news/favicon.ico')
